@(guideInfoForm: Form[GuideInfo])
@import helper._
@implicitField = @{ FieldConstructor(fields.twoColumns.f) }

@main("New Event","formNew"){
<div class="container">
    @helper.form(action = routes.Guide.add, 'id->"guideInfoFormNew") {

       @select(
			guideInfoForm("parentCategory.id"), 
			options(Category.options), 
            '_label -> "Category"
        ) 

        @inputText(field = guideInfoForm("keyWordList"), args =
            '_label -> "Key words",
            'placeholder -> ", separated"
        )


        @textarea(guideInfoForm("description"), args =
            '_label -> "Description",
            '_help -> "",
            'size ->18,
            'placeholder -> "enter description here",
            'class -> "required"
        )

       
        <div class="actions">
            <input type="submit" value="Submit" class="btn primary"> 
        </div>
    <script type="text/javascript">
        jQuery(document).ready(function(){
            $("#guideInfoFormNew").validate();
        });
    </script>

    }
</div>
}

